/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package thinkinginjava.svn.strings.regularexpressions;

/**
 *
 * @author public_enemy
 */
public class Quantifiers {
    public static void main(String[] args) {
        
        for (String pattern : new String[]{"abc+", "(abc)+"}) {
            System.out.println("abcabcabc".matches(pattern));
        }        
    }
}
